/*
 * @Author: your name
 * @Date: 2020-05-29 11:48:19
 * @LastEditTime: 2020-06-01 11:27:01
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \mobile_project_0519\mobile_post\src\request\api\register.js
 */ 
import { ajaxPost } from "@/utils/request.js"

//  发送邮箱验证码
export function sendCode(data){
    
    const url = "/sendCode"
    return ajaxPost(url,data)
}

//  用户注册
export function register(data){
    
    const url = "/register"
    return ajaxPost(url,data)
}